import request from '@/utils/request'

// 财务离校查询询毕业离校学生列表

export function financialList(query) {
  return request({
    url: '/departure/financial/list',
    method: 'get',
    params: query
  })
}
// 完成离校

export function finishGrad(query) {
  return request({
    url: '/departure/financial/finishGrad',
    method: 'put',
    params: query
  })
}
// 费用统计
export function costOverview(query) {
  return request({
    url: '/departure/financial/costOverview',
    method: 'get',
    params: query
  })
}
// 银行卡提供统计
export function bankCardStat(query) {
  return request({
    url: '/departure/financial/bankCardStat',
    method: 'get',
    params: query
  })
}
// 银行卡错误更正分析
export function bankCardStatError(query) {
  return request({
    url: '/departure/financial/bankCardStatError',
    method: 'get',
    params: query
  })
}
// 各个院系银行卡提供情况bankCardProvisionStat

export function bankCardProvisionStat(query) {
  return request({
    url: '/departure/financial/bankCardProvisionStat',
    method: 'get',
    params: query
  })
}
// 财务离校情况分析
export function dpa(query) {
  return request({
    url: '/departure/financial/dpa',
    method: 'get',
    params: query
  })
}
// 查询书费、押金费用统计
export function costSfyjOverview(query) {
  return request({
    url: '/departure/financial/costSfyjOverview',
    method: 'get',
    params: query
  })
}
// 获取时间
export function confirmTime(data) {
  return request({
    url: '/departure/gradsettings/confirmTime/' + data,
    method: 'get',
  })
}